package top.starcatmeow.encryptedchat;

import android.os.Bundle;
import android.support.design.widget.TextInputEditText;
import android.support.v7.app.AppCompatActivity;
import android.widget.Button;
import android.widget.TextView;

public class ChatActivity extends AppCompatActivity {
    static Button sendbtn;
    static TextInputEditText text;
    static TextView tv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_chat);
        sendbtn = findViewById(R.id.button2);
        text = findViewById(R.id.et);
        tv = findViewById(R.id.textView);
    }


    @Override
    protected void onDestroy() {
        super.onDestroy();

        MainActivity.ap.disconnect();
    }

}
